<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class WithdrawRequest extends BaseRequest
{

    public function rules()
    {
        return [
            'money' => 'required|min:0',
            'code' => 'required',
        ];
    }

    public function attributes()
    {
        return [
            'money' => '金额',
            'code' => '验证码',
        ];
    }
}
